<?php
	session_start();
	echo "<link href='css/login.css' rel='stylesheet' type='text/css'>";
	if(empty($_SESSION['namaadmin'])){
		echo "<div id=box_login>
				<div id=top_login>Login Area</div>
				<div id=line1></div>
				<form action=login.php method=post>
					<table align=center>
						<tr>
							<td width=25%>Email</td>
							<td width=75%><input type=text name=email class=input_field></td>
						</tr>
						<tr>
							<td>Password</td>
							<td><input type=password name=pass class=input_field></td>
						</tr>
						<tr>
							<td colspan=2 align=center>
								<input type=submit name=submit value=Login class=submit_btn
							</td>
						</tr>
					</table>
				</form>
			</div>
		";
	}else{
		echo "<meta http-equiv='refresh' content='0; url=utama.php'>"; 
	}
?>